<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.active{
				color: red;
			}
		</style>
	</head>
	<body>
		<div id="app">
			<h2 :class="{active: isActive}" >{{message}}</h2>
			<h2 :class="{active: age>30}" >{{message}}</h2>
			<div :style="{fontSize : fontSize+'px'}" >{{message}}</div>
		</div>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			let app=new Vue({
				el:('#app'),
				data:{
					message: 'hello',
					isActive: true,
				    age: 20,
					fontSize: '40'
				}
			})
			
		</script>
	</body>
</html>
